<template>
  <div class="company-operates">
    <base-header title="万联城服集团数据可视化平台（公司运营）" :rightIcon=true :leftIcon=true @goReload="goReload"></base-header>
    <div class="company-operates__content">
      <div class="company-operates__left">
        <div class="company-operates__left_top">
          <div class="bg m10">
            <div class="back-border h100">
              <base-title title="人事行政"></base-title>
              <personnel-detail></personnel-detail>
            </div>
          </div>
        </div>
        <div class="company-operates__left_bottom">
          <div class="bg m10">
            <div class="back-border h100">
              <base-title title="品质监察"></base-title>
              <quality-detail></quality-detail>
            </div>
          </div>
        </div>
      </div>
      <div class="company-operates__center">
        <div class="company-operates__center_top">
          <div class="bg m10">
            <div class="back-border h100">
              <base-title title="公司情况"></base-title>
              <company-detail></company-detail>
            </div>
          </div>
        </div>
        <div class="company-operates__left_bottom">
          <div class="bg m10">
            <div class="back-border h100">
              <base-title title="智能化情况"></base-title>
              <intelligence-detail></intelligence-detail>
            </div>
          </div>
        </div>
      </div>
      <div class="company-operates__right">
        <div class="company-operates__right_top">
          <div class="bg m10">
            <div class="back-border h100">
              <base-title title="财务情况"></base-title>
              <financial-detail></financial-detail>
            </div>
          </div>
        </div>
        <div class="company-operates__left_bottom">
          <div class="bg m10">
            <div class="back-border h100">
              <base-title title="网格化管理"></base-title>
              <grid-detail></grid-detail>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import BaseHeader from 'src/components/BaseHeader'
import BaseTitle from 'src/components/BaseTitle'
import PersonnelDetail from 'src/components/PersonnelDetail'
import QualityDetail from 'src/components/QualityDetail'
import CompanyDetail from 'src/components/CompanyDetail'
import IntelligenceDetail from 'src/components/IntelligenceDetail'
import FinancialDetail from 'src/components/FinancialDetail'
import GridDetail from 'src/components/GridDetail'

export default {
  components: {
    BaseTitle,
    BaseHeader,
    PersonnelDetail,
    QualityDetail,
    CompanyDetail,
    IntelligenceDetail,
    FinancialDetail,
    GridDetail
  },
  data() {
    return {
    }
  },
  methods: {
    goReload() {
      this.$router.push('/reloadback')
    }
  }
}
</script>
<style lang="scss">
.company-operates {
  &__content {
    position: absolute;
    left: 0;
    right: 0;
    top: 75px;
    margin: 0 auto;
    height: calc(100% - 75px);
    display: flex;
    justify-content: space-around;
  }
  &__left {
    width: 30%;
  }
  &__center {
    width: 40%;
  }
  &__right {
    width: 30%;
  }
}
</style>